package net.dgg.zz.flownode.dao;

import net.dgg.zz.production.inProcess.entity.ProductNodeFlow;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author
 * @ClassName <ScProductNodeFlowDao>
 * @despriction 生产订单流程节点Dao
 * @create 2018-05-03 10:09:39+
 **/
@Component
public interface ZzProductNodeFlowDao {
    void save(ProductNodeFlow productNodeFlow);

    void update(ProductNodeFlow productNodeFlow);

    List<ProductNodeFlow> query(Map map);

    Integer count(Map map);

    ProductNodeFlow queryFlowById(Map map);

    List<Map> findFlowEntityByBusiness(ProductNodeFlow flowEntity);

    List<Map> findFlowEntityByBigFormatCode(ProductNodeFlow flowEntity);

    ProductNodeFlow queryFlowByMap(Map map);

    ProductNodeFlow queryFlowByBigFormatCodeMap(Map map);

}